// 
// Created By: Xiaofeng.Gu 2021/03/18
// 

#pragma once

#include "cybertron/core/Log.hpp"
#include "cybertron/network/SocketTcpServer.hpp"
#include "cybertron/network/SocketTcpClient.hpp"
#include "cybertron/network/SocketEventHandler.hpp"
#include "cybertron/network/Message.hpp"
#include "cybertron/network/MessageRouter.hpp"
#include "cybertron/node/StartupArguments.hpp"
#include "cybertron/core/ConcurrentQueue.hpp"
#include "Node/TaskRunnerPool.pb.h"
using namespace cybertron;

#define SON_HEARTBEAT_MAX_TIME 60000
#define SON_ERROR_CODE1_MESSAGE "it's registered"
#define SON_ERROR_CODE2_MESSAGE "can't find this client node"